package edu.sctu.nieyu.day20150526;

/**

 * Created by Administrator on 2015/5/26.
 */
public class Dish {



    public String name;
    public int price;

    public Dish[] getDish(){
        Dish[] dish = new Dish[3];
        Dish dish1 = new Dish();
        dish1.name = "白菜";
        dish1.price = 10;
        Dish dish2 = new Dish();
        dish2.name="鱼肉";
        dish2.price=20;
        Dish dish3 = new Dish();
        dish3.name = "猪肉";
        dish3.price = 15;
        dish[0]=dish1;
        dish[1]=dish2;
        dish[2]=dish3;
        return dish;

    }












}
